package com.masterclient.app.modules.bridge.contract;

import com.eoner.baselibrary.base.BasePresenter;
import com.eoner.baselibrary.base.BaseView;
import com.eoner.commonbean.popup.CommonPopUpBean;
import com.masterclient.app.modules.bridge.BackGuideBean;
import com.masterclient.app.modules.bridge.TaskRetainBean;
import java.util.List;

/**
 * @auther hjian
 * @date 2020/7/16.
 */
public interface BridgeContract {


    interface View extends BaseView {
        void showData(List<CommonPopUpBean> dataBean);
        void showFailure(String msg);
        void showBackDialogData(BackGuideBean dataBean);
        void showBackDialogDataFailure(String msg);
        void showTaskBackDialogData(TaskRetainBean dataBean);
        void showTaskBackDialogDataFailure(String msg);
    }

    abstract class Presenter extends BasePresenter<View> {

        @Override
        public void onStart() {
        }

        public abstract void getPopUpData(String page_type, String trade_no, String order_type);
        public abstract void getBackDialogData();
        public abstract void getTaskBackDialog();


    }
}
